﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JLL.China.Model.DTO
{
    public enum EventSearchOrder
    {
        Title,
        Status
    }

    public class EventSearchCriteria
    {
        public int PageIndex { get; set; }
        public int Count { get; set; }
        public EventSearchOrder OrderBy { get; set; }
        public bool Descending { get; set; }

        public EventSearchCriteria()
        {
            OrderBy = EventSearchOrder.Title;
            Descending = false;
            PageIndex = 0;
            Count = 10;
        }
    }
}
